.class Lcom/waiqin365/lightcrm/linkman/e;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightcrm/linkman/CMLinkManActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightcrm/linkman/CMLinkManActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightcrm/linkman/e;->a:Lcom/waiqin365/lightcrm/linkman/CMLinkManActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/e;->a:Lcom/waiqin365/lightcrm/linkman/CMLinkManActivity;

    invoke-static {v0}, Lcom/waiqin365/lightcrm/linkman/CMLinkManActivity;->f(Lcom/waiqin365/lightcrm/linkman/CMLinkManActivity;)Ljava/util/ArrayList;

    move-result-object v0

    add-int/lit8 v1, p3, -0x1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightcrm/linkman/a/a;

    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/lightcrm/linkman/e;->a:Lcom/waiqin365/lightcrm/linkman/CMLinkManActivity;

    invoke-static {v2}, Lcom/waiqin365/lightcrm/linkman/CMLinkManActivity;->d(Lcom/waiqin365/lightcrm/linkman/CMLinkManActivity;)Landroid/content/Context;

    move-result-object v2

    const-class v3, Lcom/waiqin365/lightcrm/linkman/CMLinkManDetailActivity;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "linkman"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightcrm/linkman/e;->a:Lcom/waiqin365/lightcrm/linkman/CMLinkManActivity;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightcrm/linkman/CMLinkManActivity;->startActivity(Landroid/content/Intent;)V

    return-void
.end method
